import request from '@/utils/request'
export function fetchList(params) {
    return request({
        url: '/news/list',
        method: 'get',
        params: params
    })
}

export function updateStatus(params) {
    return request({
        url: '/news/update/verifyStatus',
        method: 'post',
        params: params
    })
}

export function getCounts(params) {
    return request({
        url: '/news/counts',
        method: 'get',
        params: params
    })
}

export function getNews(unid) {
    return request({
        url: '/news/' + unid,
        method: 'get',
    })
}